const Girl800data = [
    {
        "score": 25.0,
        "timer": "02:25.60"
    },
    {
        "score": 24.9,
        "timer": "02:25.80"
    },
    {
        "score": 24.8,
        "timer": "02:26"
    },
    {
        "score": 24.7,
        "timer": "02:26.20"
    },
    {
        "score": 24.6,
        "timer": "02:26.40"
    },
    {
        "score": 24.5,
        "timer": "02:26.60"
    },
    {
        "score": 24.4,
        "timer": "02:26.80"
    },
    {
        "score": 24.3,
        "timer": "02:27"
    },
    {
        "score": 24.2,
        "timer": "02:27.20"
    },
    {
        "score": 24.1,
        "timer": "02:27.40"
    },
    {
        "score": 24.0,
        "timer": "02:27.60"
    },
    {
        "score": 23.9,
        "timer": "02:27.80"
    },
    {
        "score": 23.8,
        "timer": "02:28"
    },
    {
        "score": 23.7,
        "timer": "02:28.20"
    },
    {
        "score": 23.6,
        "timer": "02:28.40"
    },
    {
        "score": 23.5,
        "timer": "02:28.60"
    },
    {
        "score": 23.4,
        "timer": "02:28.80"
    },
    {
        "score": 23.3,
        "timer": "02:29"
    },
    {
        "score": 23.2,
        "timer": "02:29.20"
    },
    {
        "score": 23.1,
        "timer": "02:29.40"
    },
    {
        "score": 23.0,
        "timer": "02:29.60"
    },
    {
        "score": 22.9,
        "timer": "02:29.80"
    },
    {
        "score": 22.8,
        "timer": "02:30"
    },
    {
        "score": 22.7,
        "timer": "02:30.20"
    },
    {
        "score": 22.6,
        "timer": "02:30.40"
    },
    {
        "score": 22.5,
        "timer": "02:30.60"
    },
    {
        "score": 22.4,
        "timer": "02:30.80"
    },
    {
        "score": 22.3,
        "timer": "02:31"
    },
    {
        "score": 22.2,
        "timer": "02:31.20"
    },
    {
        "score": 22.1,
        "timer": "02:31.40"
    },
    {
        "score": 22.0,
        "timer": "02:31.60"
    },
    {
        "score": 21.9,
        "timer": "02:31.80"
    },
    {
        "score": 21.8,
        "timer": "02:32"
    },
    {
        "score": 21.7,
        "timer": "02:32.20"
    },
    {
        "score": 21.6,
        "timer": "02:32.40"
    },
    {
        "score": 21.5,
        "timer": "02:32.60"
    },
    {
        "score": 21.4,
        "timer": "02:32.80"
    },
    {
        "score": 21.3,
        "timer": "02:33"
    },
    {
        "score": 21.2,
        "timer": "02:33.20"
    },
    {
        "score": 21.1,
        "timer": "02:33.40"
    },
    {
        "score": 21.0,
        "timer": "02:33.60"
    },
    {
        "score": 20.9,
        "timer": "02:33.80"
    },
    {
        "score": 20.8,
        "timer": "02:34"
    },
    {
        "score": 20.7,
        "timer": "02:34.20"
    },
    {
        "score": 20.6,
        "timer": "02:34.40"
    },
    {
        "score": 20.5,
        "timer": "02:34.60"
    },
    {
        "score": 20.4,
        "timer": "02:34.80"
    },
    {
        "score": 20.3,
        "timer": "02:35"
    },
    {
        "score": 20.2,
        "timer": "02:35.20"
    },
    {
        "score": 20.1,
        "timer": "02:35.40"
    },
    {
        "score": 20.0,
        "timer": "02:35.60"
    },
    {
        "score": 19.9,
        "timer": "02:35.80"
    },
    {
        "score": 19.8,
        "timer": "02:36"
    },
    {
        "score": 19.7,
        "timer": "02:36.20"
    },
    {
        "score": 19.6,
        "timer": "02:36.40"
    },
    {
        "score": 19.5,
        "timer": "02:36.60"
    },
    {
        "score": 19.4,
        "timer": "02:36.80"
    },
    {
        "score": 19.3,
        "timer": "02:37"
    },
    {
        "score": 19.2,
        "timer": "02:37.20"
    },
    {
        "score": 19.1,
        "timer": "02:37.40"
    },
    {
        "score": 19.0,
        "timer": "02:37.60"
    },
    {
        "score": 18.9,
        "timer": "02:37.80"
    },
    {
        "score": 18.8,
        "timer": "02:38"
    },
    {
        "score": 18.7,
        "timer": "02:38.20"
    },
    {
        "score": 18.6,
        "timer": "02:38.40"
    },
    {
        "score": 18.5,
        "timer": "02:38.60"
    },
    {
        "score": 18.4,
        "timer": "02:39"
    },
    {
        "score": 18.3,
        "timer": "02:39.50"
    },
    {
        "score": 18.2,
        "timer": "02:40"
    },
    {
        "score": 18.1,
        "timer": "02:40.50"
    },
    {
        "score": 18.0,
        "timer": "02:41"
    },
    {
        "score": 17.9,
        "timer": "02:41.50"
    },
    {
        "score": 17.8,
        "timer": "02:42"
    },
    {
        "score": 17.7,
        "timer": "02:42.50"
    },
    {
        "score": 17.6,
        "timer": "02:43"
    },
    {
        "score": 17.5,
        "timer": "02:43.50"
    },
    {
        "score": 17.4,
        "timer": "02:44"
    },
    {
        "score": 17.3,
        "timer": "02:44.50"
    },
    {
        "score": 17.2,
        "timer": "02:45"
    },
    {
        "score": 17.1,
        "timer": "02:45.50"
    },
    {
        "score": 17.0,
        "timer": "02:46"
    },
    {
        "score": 16.9,
        "timer": "02:46.50"
    },
    {
        "score": 16.8,
        "timer": "02:47"
    },
    {
        "score": 16.7,
        "timer": "02:47.50"
    },
    {
        "score": 16.6,
        "timer": "02:48"
    },
    {
        "score": 16.5,
        "timer": "02:48.50"
    },
    {
        "score": 16.4,
        "timer": "02:49"
    },
    {
        "score": 16.3,
        "timer": "02:49.50"
    },
    {
        "score": 16.2,
        "timer": "02:50"
    },
    {
        "score": 16.1,
        "timer": "02:50.50"
    },
    {
        "score": 16.0,
        "timer": "02:51"
    },
    {
        "score": 15.9,
        "timer": "02:51.50"
    },
    {
        "score": 15.8,
        "timer": "02:52"
    },
    {
        "score": 15.7,
        "timer": "02:52.50"
    },
    {
        "score": 15.6,
        "timer": "02:53"
    },
    {
        "score": 15.5,
        "timer": "02:53.50"
    },
    {
        "score": 15.4,
        "timer": "02:54"
    },
    {
        "score": 15.3,
        "timer": "02:54.50"
    },
    {
        "score": 15.2,
        "timer": "02:55"
    },
    {
        "score": 15.1,
        "timer": "02:55.50"
    },
    {
        "score": 15.0,
        "timer": "02:56"
    },
    {
        "score": 14.9,
        "timer": "02:56.50"
    },
    {
        "score": 14.8,
        "timer": "02:57"
    },
    {
        "score": 14.7,
        "timer": "02:57.50"
    },
    {
        "score": 14.6,
        "timer": "02:58"
    },
    {
        "score": 14.5,
        "timer": "02:58.50"
    },
    {
        "score": 14.4,
        "timer": "02:59"
    },
    {
        "score": 14.3,
        "timer": "02:59.50"
    },
    {
        "score": 14.2,
        "timer": "03:00"
    },
    {
        "score": 14.1,
        "timer": "03:00.50"
    },
    {
        "score": 14.0,
        "timer": "03:01"
    },
    {
        "score": 13.9,
        "timer": "03:01.50"
    },
    {
        "score": 13.8,
        "timer": "03:02"
    },
    {
        "score": 13.7,
        "timer": "03:02.50"
    },
    {
        "score": 13.6,
        "timer": "03:03"
    },
    {
        "score": 13.5,
        "timer": "03:03.50"
    },
    {
        "score": 13.4,
        "timer": "03:04"
    },
    {
        "score": 13.3,
        "timer": "03:04.50"
    },
    {
        "score": 13.2,
        "timer": "03:05"
    },
    {
        "score": 13.1,
        "timer": "03:05.50"
    },
    {
        "score": 13.0,
        "timer": "03:06"
    },
    {
        "score": 12.9,
        "timer": "03:06.50"
    },
    {
        "score": 12.8,
        "timer": "03:07"
    },
    {
        "score": 12.7,
        "timer": "03:07.50"
    },
    {
        "score": 12.6,
        "timer": "03:08"
    },
    {
        "score": 12.5,
        "timer": "03:08.50"
    },
    {
        "score": 12.4,
        "timer": "03:09"
    },
    {
        "score": 12.3,
        "timer": "03:09.50"
    },
    {
        "score": 12.2,
        "timer": "03:10"
    },
    {
        "score": 12.1,
        "timer": "03:10.50"
    },
    {
        "score": 12.0,
        "timer": "03:11"
    },
    {
        "score": 11.9,
        "timer": "03:11.50"
    },
    {
        "score": 11.8,
        "timer": "03:12"
    },
    {
        "score": 11.7,
        "timer": "03:12.50"
    },
    {
        "score": 11.6,
        "timer": "03:13"
    },
    {
        "score": 11.5,
        "timer": "03:13.50"
    },
    {
        "score": 11.4,
        "timer": "03:14"
    },
    {
        "score": 11.3,
        "timer": "03:14.50"
    },
    {
        "score": 11.2,
        "timer": "03:15"
    },
    {
        "score": 11.1,
        "timer": "03:15.50"
    },
    {
        "score": 11.0,
        "timer": "03:16"
    },
    {
        "score": 10.9,
        "timer": "03:16.50"
    },
    {
        "score": 10.8,
        "timer": "03:17"
    },
    {
        "score": 10.7,
        "timer": "03:17.50"
    },
    {
        "score": 10.6,
        "timer": "03:18"
    },
    {
        "score": 10.5,
        "timer": "03:18.50"
    },
    {
        "score": 10.4,
        "timer": "03:19"
    },
    {
        "score": 10.3,
        "timer": "03:19.50"
    },
    {
        "score": 10.2,
        "timer": "03:20"
    },
    {
        "score": 10.1,
        "timer": "03:20.50"
    },
    {
        "score": 10.0,
        "timer": "03:21"
    },
    {
        "score": 9.9,
        "timer": "03:21.50"
    },
    {
        "score": 9.8,
        "timer": "03:22"
    },
    {
        "score": 9.7,
        "timer": "03:22.50"
    },
    {
        "score": 9.6,
        "timer": "03:23"
    },
    {
        "score": 9.5,
        "timer": "03:23.50"
    },
    {
        "score": 9.4,
        "timer": "03:24"
    },
    {
        "score": 9.3,
        "timer": "03:24.50"
    },
    {
        "score": 9.2,
        "timer": "03:25"
    },
    {
        "score": 9.1,
        "timer": "03:25.50"
    },
    {
        "score": 9.0,
        "timer": "03:26"
    },
    {
        "score": 8.9,
        "timer": "03:26.50"
    },
    {
        "score": 8.8,
        "timer": "03:27"
    },
    {
        "score": 8.7,
        "timer": "03:27.50"
    },
    {
        "score": 8.6,
        "timer": "03:28"
    },
    {
        "score": 8.5,
        "timer": "03:28.50"
    },
    {
        "score": 8.4,
        "timer": "03:29"
    },
    {
        "score": 8.3,
        "timer": "03:29.50"
    },
    {
        "score": 8.2,
        "timer": "03:30"
    },
    {
        "score": 8.1,
        "timer": "03:30.50"
    },
    {
        "score": 8.0,
        "timer": "03:31"
    },
    {
        "score": 7.9,
        "timer": "03:31.50"
    },
    {
        "score": 7.8,
        "timer": "03:32"
    },
    {
        "score": 7.7,
        "timer": "03:32.50"
    },
    {
        "score": 7.6,
        "timer": "03:33"
    },
    {
        "score": 7.5,
        "timer": "03:33.50"
    },
    {
        "score": 7.4,
        "timer": "03:34"
    },
    {
        "score": 7.3,
        "timer": "03:34.50"
    },
    {
        "score": 7.2,
        "timer": "03:35"
    },
    {
        "score": 7.1,
        "timer": "03:35.50"
    },
    {
        "score": 7.0,
        "timer": "03:36"
    },
    {
        "score": 6.9,
        "timer": "03:36.50"
    },
    {
        "score": 6.8,
        "timer": "03:37"
    },
    {
        "score": 6.7,
        "timer": "03:37.50"
    },
    {
        "score": 6.6,
        "timer": "03:38"
    },
    {
        "score": 6.5,
        "timer": "03:38.50"
    },
    {
        "score": 6.4,
        "timer": "03:39"
    },
    {
        "score": 6.3,
        "timer": "03:39.50"
    },
    {
        "score": 6.2,
        "timer": "03:40"
    },
    {
        "score": 6.1,
        "timer": "03:40.50"
    },
    {
        "score": 6.0,
        "timer": "03:41"
    },
    {
        "score": 5.9,
        "timer": "03:41.50"
    },
    {
        "score": 5.8,
        "timer": "03:42"
    },
    {
        "score": 5.7,
        "timer": "03:42.50"
    },
    {
        "score": 5.6,
        "timer": "03:43"
    },
    {
        "score": 5.5,
        "timer": "03:43.50"
    },
    {
        "score": 5.4,
        "timer": "03:44"
    },
    {
        "score": 5.3,
        "timer": "03:44.50"
    },
    {
        "score": 5.2,
        "timer": "03:45"
    },
    {
        "score": 5.1,
        "timer": "03:45.50"
    },
    {
        "score": 5.0,
        "timer": "03:46"
    },
    {
        "score": 4.9,
        "timer": "03:46.50"
    },
    {
        "score": 4.8,
        "timer": "03:47"
    },
    {
        "score": 4.7,
        "timer": "03:47.50"
    },
    {
        "score": 4.6,
        "timer": "03:48"
    },
    {
        "score": 4.5,
        "timer": "03:48.50"
    },
    {
        "score": 4.4,
        "timer": "03:49"
    },
    {
        "score": 4.3,
        "timer": "03:49.50"
    },
    {
        "score": 4.2,
        "timer": "03:50"
    },
    {
        "score": 4.1,
        "timer": "03:50.50"
    },
    {
        "score": 4.0,
        "timer": "03:51"
    },
    {
        "score": 3.9,
        "timer": "03:51.50"
    },
    {
        "score": 3.8,
        "timer": "03:52"
    },
    {
        "score": 3.7,
        "timer": "03:52.50"
    },
    {
        "score": 3.6,
        "timer": "03:53"
    },
    {
        "score": 3.5,
        "timer": "03:53.50"
    },
    {
        "score": 3.4,
        "timer": "03:54"
    },
    {
        "score": 3.3,
        "timer": "03:54.50"
    },
    {
        "score": 3.2,
        "timer": "03:55"
    },
    {
        "score": 3.1,
        "timer": "03:55.50"
    },
    {
        "score": 3.0,
        "timer": "03:56"
    },
    {
        "score": 2.9,
        "timer": "03:56.50"
    },
    {
        "score": 2.8,
        "timer": "03:57"
    },
    {
        "score": 2.7,
        "timer": "03:57.50"
    },
    {
        "score": 2.6,
        "timer": "03:58"
    },
    {
        "score": 2.5,
        "timer": "03:58.50"
    },
    {
        "score": 2.4,
        "timer": "03:59"
    },
    {
        "score": 2.3,
        "timer": "03:59.50"
    },
    {
        "score": 2.2,
        "timer": "04:00"
    },
    {
        "score": 2.1,
        "timer": "04:00.50"
    },
    {
        "score": 2.0,
        "timer": "04:01"
    },
    {
        "score": 1.9,
        "timer": "04:01.50"
    },
    {
        "score": 1.8,
        "timer": "04:02"
    },
    {
        "score": 1.7,
        "timer": "04:03"
    },
    {
        "score": 1.6,
        "timer": "04:04"
    },
    {
        "score": 1.5,
        "timer": "04:05"
    },
    {
        "score": 1.4,
        "timer": "04:06"
    },
    {
        "score": 1.3,
        "timer": "04:07"
    },
    {
        "score": 1.2,
        "timer": "04:08"
    },
    {
        "score": 1.1,
        "timer": "04:09"
    },
    {
        "score": 1.0,
        "timer": "04:10"
    },
    {
        "score": 0.9,
        "timer": "04:11"
    },
    {
        "score": 0.8,
        "timer": "04:12"
    },
    {
        "score": 0.7,
        "timer": "04:13"
    },
    {
        "score": 0.6,
        "timer": "04:14"
    },
    {
        "score": 0.5,
        "timer": "04:15"
    },
    {
        "score": 0.4,
        "timer": "04:16"
    },
    {
        "score": 0.3,
        "timer": "04:17"
    },
    {
        "score": 0.2,
        "timer": "04:18"
    },
    {
        "score": 0.1,
        "timer": "04:19"
    },
    {
        "score": 0.0,
        "timer": "04:20"
    }
]
const formattedGirl800data = Girl800data.map(item => ({
    ...item,
    timer: item.timer.includes('.') ? item.timer : `${item.timer}.00`
}));
function GetGirl800Score(Score800, formattedGril800data) {
    // 将用户输入的时间转换为百分之一秒
    const inputTimer = Score800[0] * 60 * 100 + Score800[1] * 100 + (Score800[2] || 0);

    for (let i = 0; i < formattedGril800data.length; i++) {
        const [minutes, seconds] = formattedGril800data[i].timer.split(':');
        const [sec, centiSec] = seconds.split('.');
        // 将数组中的时间转换为百分之一秒
        const timerInCentiSec = parseInt(minutes, 10) * 60 * 100 + parseInt(sec, 10) * 100 + (parseInt(centiSec, 10) || 0);

        if (inputTimer <= timerInCentiSec) {
            return formattedGril800data[i].score;
        }
    }
    // 如果输入时间超过了数组中最大时间，返回最后一个记录的分数
    return formattedGril800data[formattedGril800data.length - 1].score;
}